package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 资源中心; InnoDB free: 18432 kB
 * </p>
 *
 * @author stylefeng123
 * @since 2018-04-04
 */
@TableName("clm_resource")
public class ClmResource extends Model<ClmResource> {

    private static final long serialVersionUID = 1L;

    /**
     * 附件id
     */
    @TableId("resource_id")
    private String resourceId;
    /**
     * 站点id
     */
    @TableField("site_id")
    private String siteId;
    /**
     * 所属老师的id
     */
    @TableField("teacher_id")
    private String teacherId;
    /**
     * 老师的姓名
     */
    @TableField("teacher_name")
    private String teacherName;
    /**
     * 附件名称
     */
    @TableField("file_name")
    private String fileName;
    /**
     * 附件上传地址
     */
    @TableField("file_url")
    private String fileUrl;
    /**
     * 附件类型，doc代表文档，video代表视频
     */
    @TableField("file_type")
    private String fileType;
    /**
     * 附件大小
     */
    @TableField("file_size")
    private Long fileSize;
    /**
     * 后缀
     */
    @TableField("file_ext")
    private String fileExt;
    /**
     * 视频时长
     */
    @TableField("video_time")
    private String videoTime;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 创建者
     */
    @TableField("create_user_id")
    private String createUserId;
    /**
     * 是否删除,true(1)删除，false(0)正常
     */
    @TableField("be_deleted")
    private Integer beDeleted;
    /**
     * 审核内容
     */
    @TableField("check_comment")
    private String checkComment;
    /**
     * 审核者id
     */
    @TableField("check_user_id")
    private String checkUserId;
    /**
     * 审核者姓名
     */
    @TableField("check_user_name")
    private String checkUserName;
    /**
     * 审核时间
     */
    @TableField("check_date")
    private Date checkDate;
    /**
     * 资源截图地址
     */
    @TableField("logo_url")
    private String logoUrl;
    /**
     * 学段，primary_school--小学，middle_school---初中，high_school---高中
     */
    @TableField("stages_")
    private String stages;
    /**
     * 科目id
     */
    @TableField("subject_id")
    private String subjectId;
    /**
     * 科目名称
     */
    @TableField("subject_name")
    private String subjectName;
    /**
     * 作品简介
     */
    @TableField("description_")
    private String description;


    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public String getVideoTime() {
        return videoTime;
    }

    public void setVideoTime(String videoTime) {
        this.videoTime = videoTime;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getBeDeleted() {
        return beDeleted;
    }

    public void setBeDeleted(Integer beDeleted) {
        this.beDeleted = beDeleted;
    }

    public String getCheckComment() {
        return checkComment;
    }

    public void setCheckComment(String checkComment) {
        this.checkComment = checkComment;
    }

    public String getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(String checkUserId) {
        this.checkUserId = checkUserId;
    }

    public String getCheckUserName() {
        return checkUserName;
    }

    public void setCheckUserName(String checkUserName) {
        this.checkUserName = checkUserName;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getStages() {
        return stages;
    }

    public void setStages(String stages) {
        this.stages = stages;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    protected Serializable pkVal() {
        return this.resourceId;
    }

    @Override
    public String toString() {
        return "ClmResource{" +
        "resourceId=" + resourceId +
        ", siteId=" + siteId +
        ", teacherId=" + teacherId +
        ", teacherName=" + teacherName +
        ", fileName=" + fileName +
        ", fileUrl=" + fileUrl +
        ", fileType=" + fileType +
        ", fileSize=" + fileSize +
        ", fileExt=" + fileExt +
        ", videoTime=" + videoTime +
        ", createDate=" + createDate +
        ", createUserId=" + createUserId +
        ", beDeleted=" + beDeleted +
        ", checkComment=" + checkComment +
        ", checkUserId=" + checkUserId +
        ", checkUserName=" + checkUserName +
        ", checkDate=" + checkDate +
        ", logoUrl=" + logoUrl +
        ", stages=" + stages +
        ", subjectId=" + subjectId +
        ", subjectName=" + subjectName +
        ", description=" + description +
        "}";
    }
}
